jQuery(document).ready(function(){
_temp_uploader = new qq.FileUploader({
            element: document.getElementById('_temp_Attach_file'),
            multiple: false, 
            uploadButtonText:"Select Zip file",
            dragText:"Drag Zip file into this area",
            allowedExtensions: ["zip"],
            onSubmit: function(id, name){               
                _temp_uploader.setParams({ 
                        ajax_action: 1,
                        module: "mailsystemmodule",
                        action: "uploader",
                });
            },
            onComplete: function (id, fileName, responseJSON){
                if (responseJSON.file_path != undefined)
                    {
                    jQuery("#zip_list").val(responseJSON.file_path);
                }
            },
            action: '/index.php'
    });
});